package com.example.demo.dao.report;

import com.example.demo.po.remark.Remark;
import com.example.demo.po.report.Report;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ReportRemarkDao {

    List<Remark> selectRemarkByRid(@Param("rid")Integer rid,@Param("pageNumKey") int pageNum,@Param("pageSizeKey") int pageSize);

    List<Report> selectRemarkableReportListByTaskId(@Param("tid") int tid,@Param("uid") int uid, @Param("pageNumKey") int pageNum,
                                                    @Param("pageSizeKey") int pageSize);

    Integer insertReportRemark(int reid,int rid);
}
